package com.daiyang.campus_lucky_draw.contreller.param;

import jakarta.validation.constraints.NotBlank;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = true)
public class UserPasswordLoginParam extends UserLoginParam {
    /**
     * 邮箱 或 ⼿机号
     */
    @NotBlank(message = "邮箱或⼿机号不能为空！")
    private String loginName;
    /**
     * 密码
     */
    @NotBlank(message = "登录密码不能为空！")
    private String password;
}